

import java.io.Serializable;

public class Broker implements Serializable
{
   private int _id;
   private String _username;
   private String _password;
   private String _name;
   
   public Broker()
   {
      _id = 0;
      _username = "";
      _password = "";
      _name = "";
   }
   
   public Broker(int id, String username, String password, String name)
   {
      _id = id;
      _username = username;
      _password = password;
      _name = name;
   }
   
   public void setID(int id)
   {
      _id = id;
   }
   
   public void setUsername(String username)
   {
      _username = username;
   }
   
   public void setPassword(String password)
   {
      _password = password;
   }
   
   public void setName(String name)
   {
      _name = name;
   }
   
   public int getId()
   {
      return _id;
   }
   
   public String getUsername()
   {
      return _username;
   }
   
   public String getPassword()
   {
      return _password;
   }
   
   public String getName()
   {
      return _name;
   }
}